package com.handpay.nocardpay.baselibrary.qualificationinfo.adapters;

import android.content.Context;

import com.handpay.nocardpay.baselibrary.R;
import com.handpay.nocardpay.baselibrary.commbase.model.adapter.BaseListViewAdapter;
import com.handpay.nocardpay.baselibrary.commbase.model.adapter.BaseListViewViewHolder;
import com.handpay.nocardpay.baselibrary.qualificationinfo.model.bean.SubBankBean;

import java.util.List;

/**
 * Created by sxshi on 2017/8/15.
 */

public class SubBankAdapter extends BaseListViewAdapter<SubBankBean.ListBean> {
    public SubBankAdapter(Context context) {
        super(context);
    }

    public SubBankAdapter(Context context, List<SubBankBean.ListBean> mLists) {
        super(context, mLists);
    }

    @Override
    public int getLayoutId(int postion) {
        return R.layout.bank_item;
    }

    @Override
    public void convert(BaseListViewViewHolder holder, SubBankBean.ListBean listBean, int position) {
        holder.setText(R.id.tvBankName, listBean.getSubBankName());
    }
}
